<?php
  
class homepageComponents extends sfComponents
{
    public function executeMenu(sfWebRequest $request)
    {                        
        $this->aMenu = MenuQuery::create()
                                ->orderByOrder()
                                ->find()
                                ->toArray();  
    }
}